package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotNull;

/**
 * 充值面额和实际价格映射对象 sd_business_money
 * 
 * @author xx
 * @date 2020-04-04
 */
public class BusinessMoney {

    /** 主键id */
    private Long id;

    /** 业务类型 来源字典表 */
    private Integer businessType;

    /** 业务表id */
    private Long businessId;

    /** 面额 字典表dict_label */
    private String label;

    /** 字典表dict_label */
    private String value;

    /** 字典表dict_type */
    private String type;

    /** 实际价格 */
    @NotNull(message = "业务价格不能为空")
    private Double money;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public Long getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessType", getBusinessType())
            .append("businessId", getBusinessId())
            .append("label", getLabel())
            .append("value", getValue())
            .append("type", getType())
            .append("money", getMoney())
            .toString();
    }
}
